.class Les/fu$d;
.super Les/fu$e;
.source "SearchAdvancedConditionDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/fu;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;

.field private j:I

.field k:I

.field l:I

.field m:Ljava/util/Calendar;

.field final synthetic n:Les/fu;


# direct methods
.method constructor <init>(Les/fu;Landroid/widget/TextView;II)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-direct {p0, p1, p2, p3, p4}, Les/fu$e;-><init>(Les/fu;Landroid/widget/TextView;II)V

    const/16 p1, 0x7db

    .line 2
    iput p1, p0, Les/fu$d;->j:I

    const/4 p1, 0x1

    .line 3
    iput p1, p0, Les/fu$d;->k:I

    .line 4
    iput p1, p0, Les/fu$d;->l:I

    const/4 p1, 0x0

    .line 5
    iput-object p1, p0, Les/fu$d;->m:Ljava/util/Calendar;

    return-void
.end method

.method private b()Ljava/util/Calendar;
    .locals 9

    .line 1
    iget-object v0, p0, Les/fu$d;->m:Ljava/util/Calendar;

    if-nez v0, :cond_0

    .line 2
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    iput-object v0, p0, Les/fu$d;->m:Ljava/util/Calendar;

    const/4 v1, 0x1

    .line 3
    invoke-virtual {v0, v1}, Ljava/util/Calendar;->get(I)I

    move-result v0

    iput v0, p0, Les/fu$d;->j:I

    .line 4
    iget-object v0, p0, Les/fu$d;->m:Ljava/util/Calendar;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Ljava/util/Calendar;->get(I)I

    move-result v0

    iput v0, p0, Les/fu$d;->k:I

    .line 5
    iget-object v0, p0, Les/fu$d;->m:Ljava/util/Calendar;

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Ljava/util/Calendar;->get(I)I

    move-result v5

    iput v5, p0, Les/fu$d;->l:I

    .line 6
    iget-object v2, p0, Les/fu$d;->m:Ljava/util/Calendar;

    iget v3, p0, Les/fu$d;->j:I

    iget v4, p0, Les/fu$d;->k:I

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual/range {v2 .. v8}, Ljava/util/Calendar;->set(IIIIII)V

    .line 7
    :cond_0
    iget-object v0, p0, Les/fu$d;->m:Ljava/util/Calendar;

    return-object v0
.end method


# virtual methods
.method a(Ljava/lang/String;)J
    .locals 4

    .line 31
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f1102bf

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/fu$d;->h:Ljava/lang/String;

    .line 32
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f1102c0

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/fu$d;->i:Ljava/lang/String;

    const-wide/16 v0, -0x1

    if-eqz p1, :cond_2

    .line 33
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x1

    if-ge v2, v3, :cond_0

    goto :goto_0

    .line 34
    :cond_0
    iget-object v2, p0, Les/fu$d;->h:Ljava/lang/String;

    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    const/4 v3, 0x0

    if-lez v2, :cond_1

    .line 35
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->d(Ljava/lang/String;)J

    move-result-wide v0

    goto :goto_0

    .line 36
    :cond_1
    iget-object v2, p0, Les/fu$d;->i:Ljava/lang/String;

    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    if-lez v2, :cond_2

    .line 37
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->d(Ljava/lang/String;)J

    move-result-wide v0

    :cond_2
    :goto_0
    return-wide v0
.end method

.method a(ILjava/lang/Object;)V
    .locals 7

    .line 1
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f1102bf

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/fu$d;->h:Ljava/lang/String;

    .line 2
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f1102c0

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/fu$d;->i:Ljava/lang/String;

    .line 3
    invoke-virtual {p0}, Les/fu$e;->a()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    if-ge p1, v0, :cond_7

    .line 4
    iput p1, p0, Les/fu$e;->c:I

    .line 5
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object v0

    const-wide/16 v2, -0x1

    iput-wide v2, v0, Les/eu$g;->a:J

    .line 6
    iget-object v0, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v0}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object v0

    iput-wide v2, v0, Les/eu$g;->b:J

    if-nez p1, :cond_0

    goto/16 :goto_0

    :cond_0
    if-ne p1, v1, :cond_1

    .line 7
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->a:J

    .line 8
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto/16 :goto_0

    :cond_1
    const/4 v0, 0x2

    const-wide/32 v4, 0x5265c00

    if-ne p1, v0, :cond_2

    .line 9
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    sub-long/2addr v0, v4

    iput-wide v0, p1, Les/eu$g;->a:J

    .line 10
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto/16 :goto_0

    :cond_2
    const/4 v0, 0x3

    if-ne p1, v0, :cond_3

    .line 11
    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p1

    const/4 p2, 0x7

    invoke-virtual {p1, p2}, Ljava/util/Calendar;->get(I)I

    move-result p1

    .line 12
    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v2

    sub-int/2addr p1, v1

    int-to-long v0, p1

    mul-long v0, v0, v4

    sub-long/2addr v2, v0

    iput-wide v2, p2, Les/eu$g;->a:J

    .line 13
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto/16 :goto_0

    :cond_3
    const/4 v0, 0x4

    const/4 v6, 0x5

    if-ne p1, v0, :cond_4

    .line 14
    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p1

    invoke-virtual {p1, v6}, Ljava/util/Calendar;->get(I)I

    move-result p1

    .line 15
    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v2

    sub-int/2addr p1, v1

    int-to-long v0, p1

    mul-long v0, v0, v4

    sub-long/2addr v2, v0

    iput-wide v2, p2, Les/eu$g;->a:J

    .line 16
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto/16 :goto_0

    :cond_4
    const/4 v0, 0x6

    if-ne p1, v6, :cond_5

    .line 17
    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p1

    invoke-virtual {p1, v0}, Ljava/util/Calendar;->get(I)I

    move-result p1

    .line 18
    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v2

    sub-int/2addr p1, v1

    int-to-long v0, p1

    mul-long v0, v0, v4

    sub-long/2addr v2, v0

    iput-wide v2, p2, Les/eu$g;->a:J

    .line 19
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p2

    invoke-virtual {p2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    iput-wide v0, p1, Les/eu$g;->b:J

    goto :goto_0

    :cond_5
    if-ne p1, v0, :cond_6

    .line 20
    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object p1

    invoke-virtual {p1, v0}, Ljava/util/Calendar;->get(I)I

    move-result p1

    .line 21
    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p2

    iput-wide v2, p2, Les/eu$g;->a:J

    .line 22
    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v2

    sub-int/2addr p1, v1

    int-to-long v0, p1

    mul-long v0, v0, v4

    sub-long/2addr v2, v0

    iput-wide v2, p2, Les/eu$g;->b:J

    goto :goto_0

    .line 23
    :cond_6
    check-cast p2, Ljava/lang/String;

    invoke-virtual {p0, p2}, Les/fu$d;->b(Ljava/lang/String;)V

    goto :goto_0

    :cond_7
    new-array p1, v1, [Ljava/lang/String;

    const/4 p2, 0x0

    .line 24
    iget-object v0, p0, Les/fu$d;->h:Ljava/lang/String;

    aput-object v0, p1, p2

    iget-object p2, p0, Les/fu$d;->n:Les/fu;

    .line 25
    invoke-static {p2}, Les/fu;->e(Les/fu;)Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f1109ab

    invoke-virtual {p2, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    const/16 v0, 0x16d

    const/16 v1, 0x2da

    .line 26
    invoke-virtual {p0, p1, p2, v0, v1}, Les/fu$e;->a([Ljava/lang/String;Ljava/lang/String;II)Lcom/estrongs/android/ui/dialog/q$n;

    move-result-object p1

    .line 27
    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    :goto_0
    return-void
.end method

.method protected a(ILjava/lang/String;ILjava/lang/String;)V
    .locals 7

    const-wide/32 v0, 0x5265c00

    if-lez p1, :cond_0

    .line 28
    iget-object v2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object v2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    int-to-long v5, p1

    mul-long v5, v5, v0

    sub-long/2addr v3, v5

    iput-wide v3, v2, Les/eu$g;->b:J

    :cond_0
    if-lez p3, :cond_1

    .line 29
    iget-object v2, p0, Les/fu$d;->n:Les/fu;

    invoke-static {v2}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object v2

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    int-to-long v5, p3

    mul-long v5, v5, v0

    sub-long/2addr v3, v5

    iput-wide v3, v2, Les/eu$g;->a:J

    .line 30
    :cond_1
    invoke-super {p0, p1, p2, p3, p4}, Les/fu$e;->a(ILjava/lang/String;ILjava/lang/String;)V

    return-void
.end method

.method b(Ljava/lang/String;)V
    .locals 7

    const-string v0, " - "

    .line 8
    invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    .line 9
    array-length v3, v1

    const/4 v4, 0x2

    if-ne v3, v4, :cond_0

    .line 10
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    const/4 v0, 0x1

    aget-object v0, v1, v0

    invoke-virtual {p0, v0}, Les/fu$d;->a(Ljava/lang/String;)J

    move-result-wide v5

    sub-long/2addr v3, v5

    iput-wide v3, p1, Les/eu$g;->a:J

    .line 11
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$d;->a(Ljava/lang/String;)J

    move-result-wide v0

    sub-long/2addr v3, v0

    iput-wide v3, p1, Les/eu$g;->b:J

    goto :goto_0

    .line 12
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 13
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$d;->a(Ljava/lang/String;)J

    move-result-wide v0

    sub-long/2addr v3, v0

    iput-wide v3, p1, Les/eu$g;->b:J

    goto :goto_0

    .line 14
    :cond_1
    iget-object p1, p0, Les/fu$d;->n:Les/fu;

    invoke-static {p1}, Les/fu;->c(Les/fu;)Les/eu$g;

    move-result-object p1

    invoke-direct {p0}, Les/fu$d;->b()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    aget-object v0, v1, v2

    invoke-virtual {p0, v0}, Les/fu$d;->a(Ljava/lang/String;)J

    move-result-wide v0

    sub-long/2addr v3, v0

    iput-wide v3, p1, Les/eu$g;->a:J

    :goto_0
    return-void
.end method
